﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyBookings.aspx.cs" Inherits="HotelProject.MyBookings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="imageMap" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
 <div id="homePageContainer">
 <div id="homePageContent">
    
    <img name="admin" src="../Images/background.jpg" width="838" height="632" border="0" id="admin" usemap="#default" alt="" /> 
    <div id="adminSubPage"><asp:GridView ID="GridView1" runat="server" 
            AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" BorderColor="Tan" 
            BorderWidth="1px" CellPadding="2" DataKeyNames="ID" 
            DataSourceID="EntityDataSource1" ForeColor="Black" GridLines="None" 
            Width="819px">
        <AlternatingRowStyle BackColor="PaleGoldenrod" />
        <Columns>
            <asp:BoundField DataField="endDate" HeaderText="End Date" 
                SortExpression="endDate" />
            <asp:BoundField DataField="hotelID" HeaderText="Hotel ID" 
                SortExpression="hotelID" />
            <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" 
                SortExpression="ID" />
            <asp:BoundField DataField="roomID" HeaderText="Room ID" 
                SortExpression="roomID" />
            <asp:BoundField DataField="startDate" HeaderText="Start Date" 
                SortExpression="startDate" />
            <asp:BoundField DataField="totalCost" HeaderText="Total Cost" 
                SortExpression="totalCost" />
            <asp:BoundField DataField="userName" HeaderText="User Name" 
                SortExpression="userName" />
        </Columns>
        <FooterStyle BackColor="Tan" />
        <HeaderStyle BackColor="Tan" Font-Bold="True" />
        <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
            HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
        <SortedAscendingCellStyle BackColor="#FAFAE7" />
        <SortedAscendingHeaderStyle BackColor="#DAC09E" />
        <SortedDescendingCellStyle BackColor="#E1DB9C" />
        <SortedDescendingHeaderStyle BackColor="#C2A47B" />
     </asp:GridView>
        <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
            ConnectionString="name=bshrews2Entities" 
            DefaultContainerName="bshrews2Entities" EnableFlattening="False" 
            EntitySetName="bookings">
        </asp:EntityDataSource>
     </div>
</div>
</div>
</asp:Content>
